import React from 'react';
import styles from './UserLayout.less';

export default class UserLayout extends React.PureComponent {
	constructor() {
		super();
		this.state = {};
	}
	render() {
		return (
			<div className={`u-container ${styles.container}`}>
				<div className={styles.content}>
					<div className={styles.top}>
						<div className={styles.header}>
							<img
								alt="logo"
								className={styles.logo}
								src={require('assets/logo.png')}
							/>
						</div>
					</div>
					<div style={{ margin: '100px auto' }}>{this.props.children}</div>
				</div>

				<div className={styles.footer}>© 2018 云智天下科技有限公司</div>
			</div>
		);
	}
}
